package com.engine4cloud.tdf.supervision.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 核实取证
 *
 * @author wenjie
 * @date 2024-04-26 14:41:32
 */
@Data
@TableName("rcgl_verification_evidence")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "核实取证")
public class RcglVerificationEvidenceEntity extends Model<RcglVerificationEvidenceEntity> {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private Long id;

    /**
     * 矫正人员编号
     */
    @Schema(description = "矫正人员编号")
    private String rybh;

    /**
     * 被核实取证人
     */
    @Schema(description = "被核实取证人")
    private String bhsqzr;

    /**
     * 核实取证事由
     */
    @Schema(description = "核实取证事由")
    private String hsqzsy;

    /**
     * 核实取证人
     */
    @Schema(description = "核实取证人")
    private String hsqzr;

    /**
     * 核实取证时间
     */
    @Schema(description = "核实取证时间")
    private LocalDateTime hsqzsj;

    /**
     * 核实取证所在省（区、市）
     */
    @Schema(description = "核实取证所在省（区、市）")
    private String hsqzszs;

    /**
     * 核实取证所在地（市、州）
     */
    @Schema(description = "核实取证所在地（市、州）")
    private String hsqzszds;

    /**
     * 核实取证所在县（市、区）
     */
    @Schema(description = "核实取证所在县（市、区）")
    private String hsqzszxq;

    /**
     * 核实取证所在（乡镇、街道）
     */
    @Schema(description = "核实取证所在（乡镇、街道）")
    private String hsqzszd;
    /**
     * 核实取证地点
     */
    @Schema(description = "核实取证地点")
    private String hsqzdd;

    /**
     * 核实情况记录
     */
    @Schema(description = "核实情况记录")
    private String hsqkjl;

    /**
     * 处理意见
     */
    @Schema(description = "处理意见")
    private String clyj;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "是否删除")
    private String delFlag;

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;
}